package com.project.fortuneteller;


import com.project.fortuneteller.config.DivineConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(basePackages = "com.project.fortuneteller.mappers")
@EnableScheduling /// 开启定时任务
@EnableConfigurationProperties(DivineConfig.class)
public class FortunetellerApplication {
    public static void main(String[] args) {
        SpringApplication.run(FortunetellerApplication.class,args);
    }
}
